class ABOSSPolicy {
  String accessKeyId;
  String policy;
  String signature;
  String expire;
  String dir;
  String host;
  String callback;

  ABOSSPolicy(
      {required this.accessKeyId,
      required this.policy,
      required this.signature,
      required this.expire,
      required this.dir,
      required this.host,
      required this.callback});

  factory ABOSSPolicy.fromJson(Map<String, dynamic> json) {
    return ABOSSPolicy(
        accessKeyId: json['accessKeyId'],
        policy: json['policy'],
        signature: json['signature'],
        expire: json['expire'],
        dir: json['dir'],
        host: json['host'],
        callback: json['callback']);
  }
}